package com.fz.study.project.utils;


//redis应用常量
public class RedisConstants {

    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;

    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 60L;
    public static final Long CACHE_SHOP_TTL = 30L;
    public static final String LOCK_SHOP_KEY = "lock:shop:";
    public static final Long SHOP_NULL_TTL = 2L;
    public static final String CACHE_SHOP_KEY = "cache:shop:";
    public static final String SHOP_TYPE_KEY = "cache:type:";
    public static final String SECKILL_STOCK_KEY = "seckill:stock:";
}
